<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%String basePath = request.getContextPath();%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="msthemecompatible" content="no">
		<title>欢迎登录用户管理系统</title>
		<script>
    		var __ctxPath = "<%=request.getContextPath()%>";
		</script>
		<link rel="stylesheet" type="text/css" href="<%=basePath%>/ext/resources/css/ext-all.css" />
		<link rel="stylesheet" type="text/css" href="<%=basePath%>/css/common/admin.css"/>
	    <link rel="stylesheet" type="text/css" href="<%=basePath%>/css/common/FileUploadField.css"/>
	    <link rel="Stylesheet" type="text/css" href="<%=basePath%>/ext/resources/css/data-view.css" />	
		<script type="text/javascript" src="<%=basePath%>/js/thirdparty/jquery.min.js"></script>
		<script type="text/javascript" src="<%=basePath%>/ext/adapter/jquery/ext-jquery-adapter.js"></script>
		<script type="text/javascript" src="<%=basePath%>/ext/adapter/ext/ext-base.min.js"></script>
		<script type="text/javascript" src="<%=basePath%>/ext/ext-all.min.js"></script>
		
		<script type="text/javascript" src="<%=basePath%>/ext/ext-basex.min.js"></script>
		<script type="text/javascript" src="<%=basePath%>/ext/ext-ux-all.min.js"></script>
		<script type="text/javascript" src="<%=basePath%>/ext/ux/FormRegex.js"></script>
		<script type="text/javascript" src="<%=basePath%>/ext/ux/PageComboResizer.js"></script>
		<script type="text/javascript" src="<%=basePath%>/ext/ext-lang-zh_CN.min.js"></script>
		<script type="text/javascript" src="<%=basePath%>/ext/ux/fusioncharts.js"></script>
		<script type="text/javascript" src="<%=basePath%>/ext/ux/fusioncharts.theme.fint.js"></script>
		<script type="text/javascript" src="<%=basePath%>/ext/ux/fusioncharts.powercharts.js"></script>
	    <script type="text/javascript" src="<%=basePath%>/js/common/widget.js"></script>
		<script type="text/javascript" src="<%=basePath%>/js/common/common.js"></script>	
	    <script type="text/javascript" src="<%=basePath%>/js/common/index.js"></script>
	    <script type="text/javascript" src="<%=basePath%>/js/common/lookPic.js"></script>
	    <script type="text/javascript" src="<%=basePath%>/js/common/bisoufunction.js"></script>
	    <script type="text/javascript" src="<%=basePath%>/js/common/pop.js"></script>
	    <script type="text/javascript" src="http://push.monmondecake.com/socket.io/socket.io.js"></script>
	    <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=CNdMwN4DST28IPaiw2HNpsMij3WLYlHX"></script>
	    <style type="text/css">
			.x-selectable,.x-selectable * {
			-moz-user-select: text ! important;
			-khtml-user-select: text ! important;
			}   
		</style>
		<script>
		Ext.onReady(App.init);
		</script>
	</head>
	<body>
		<div id="loading">
             <div class="loading-indicator">
                  <img src="<%=basePath%>/images/load/loading.gif"  width="32" height="32" style="margin-right:8px;" />
                  <div class="clear"></div>
         		    	正在加载，请稍候......
             </div>
        </div>
        <div id="loading-mask"></div>
        
        <div id="app-header">
		    <div id="navHeader" ></div>
			<div id="setting">	
				<font color="blue" >欢迎您,${sessionScope.loginUser.trueName}
				 <c:if test="${sessionScope.loginUser.isSubscription==1}">
				     &nbsp;|&nbsp;<a id="unSetttledRemindMsg" href="#" style="color:#f00; text-decoration:underline" onclick="App.lookOrderConfirmDetail();">你有0条未处理消息</a>&nbsp;|&nbsp; 
		                           <a id="subscriptionRemindMsg" href="#"
		                        	   <c:if test="${sessionScope.loginUser.isSubscription==1}">
		                        	      onclick="App.subscriptionRemind(0,'取消订阅消息')">取消订阅消息
		                        	   </c:if>
		                        	   <c:if test="${sessionScope.loginUser.isSubscription==0}">
		                        	      onclick="App.subscriptionRemind(1,'订阅消息')">订阅消息
		                        	   </c:if>
		                           </a>
				 </c:if>
				&nbsp;|&nbsp;<a href="#" onclick="App.Logout()">退出</a>
				&nbsp;|&nbsp;<a href="#" onclick="App.UpdatePassword ('${sessionScope.loginUser.name}')">修改密码</a>	
				<!-- &nbsp;|&nbsp;<img src="<%=basePath%>/images/btn/expand.png" onclick="expand()" alt="收展"/>	 --></font>
			</div>
			<div id="welcomeMsg"></div> 
		</div>
		<div id="popView" style="display:none;">
					<div id="popHead">
								<a id="popClose" title="关闭">关闭</a>
								<h2>消息提示</h2>
								</div>
								<div id="popContent">
								<dl>
									<dt id="popTitle" style="text-align:center"><a href="#" >头标题</a></dt>
									<dd id="popIntro">这里是内容简介</dd>
								</dl>
								<p id="popMore">
								   <a  style="float:left" href="#"  onclick="App.lookOrderConfirmDetail();">查看 »</a>
								 </p>
					  </div>
					  <div id="sound_element" style="position:absolute; top:100px; left:-100px;"></div>
	   </div>
	</body>
</html>